package com.example.demo.model;

import java.util.List;

/**
 * @author hpp
 * @create 2021/9/14 - 20:36
 */
public class PageModel<T> {
    private long totalpage;
    private long pagenum;
    private List<T> data;

    public PageModel(long totalpage, long pagenum, List<T> data) {
        this.totalpage = totalpage;
        this.pagenum = pagenum;
        this.data = data;
    }

    public long getTotalpage() {
        return totalpage;
    }

    public void setTotalpage(long totalpage) {
        this.totalpage = totalpage;
    }

    public long getPagenum() {
        return pagenum;
    }

    public void setPagenum(long pagenum) {
        this.pagenum = pagenum;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }
}
